home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
Printing.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
5KB
|
160 lines
/*
File: Printing.idl
Contains: Print Manager Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __PRINTING_IDL__
#define __PRINTING_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __ERRORS_IDL__
#include <Errors.idl>
#endif
#ifndef __DIALOGS_IDL__
#include <Dialogs.idl>
#endif
#ifndef __QUICKDRAW_IDL__
#include <Quickdraw.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/* Error Codes moved to Errors.(hap) */
typedef SInt8 TFeed;
typedef SInt8 TScan;
/* A Rect Ptr */
typedef OpaquePtr TPRect; /* Substituted OpaquePtr for ``Rect*'' */
typedef OpaquePtr PrIdleProcPtr;
typedef OpaquePtr PrIdleUPP;
#if FOR_OPAQUE_SYSTEM_DATA_STRUCTURES
typedef OpaquePtr PItemProcPtr;
typedef OpaquePtr PItemUPP;
typedef OpaquePtr TPPrPort;
typedef TPPrPort TPPrPortRef;
#else
typedef OpaquePtr PItemProcPtr;
typedef OpaquePtr PItemUPP;
typedef SOMLargeStruct TPrPort; /* Derived from a struct of 178 bytes in size */
typedef OpaquePtr TPPrPort; /* Substituted OpaquePtr for ``TPrPort*'' */
typedef OpaquePtr TPPrPortRef; /* Substituted OpaquePtr for ``TPrPort*'' */
#endif
/*
Printing Graf Port. All printer imaging, whether spooling, banding, etc, happens "thru" a GrafPort.
This is the "PrPeek" record.
*/
typedef SOMLargeStruct TPrInfo; /* Derived from a struct of 14 bytes in size */
typedef OpaquePtr TPPrInfo; /* Substituted OpaquePtr for ``TPrInfo*'' */
/* Print Info Record: The parameters needed for page composition. */
typedef SOMLargeStruct TPrStl; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr TPPrStl; /* Substituted OpaquePtr for ``TPrStl*'' */
typedef SOMLargeStruct TPrXInfo; /* Derived from a struct of 16 bytes in size */
typedef OpaquePtr TPPrXInfo; /* Substituted OpaquePtr for ``TPrXInfo*'' */
typedef SOMLargeStruct TPrJob; /* Derived from a struct of 20 bytes in size */
typedef OpaquePtr TPPrJob; /* Substituted OpaquePtr for ``TPrJob*'' */
/* Print Job: Print "form" for a single print request. */
typedef SOMLargeStruct TPrint; /* Derived from a struct of 120 bytes in size */
typedef OpaquePtr TPPrint; /* Substituted OpaquePtr for ``TPrint*'' */
typedef OpaquePtr THPrint; /* Substituted OpaquePtr for ``TPPrint*'' */
#if FOR_OPAQUE_SYSTEM_DATA_STRUCTURES
/*
typedef struct OpaqueTPrStatusRef *TPPrStatus;
typedef struct OpaqueTPrStatusRef *TPPrStatusRef;
*/
typedef OpaquePtr TPPrStatus;
typedef TPPrStatus TPPrStatusRef;
#else
typedef SOMLargeStruct TPrStatus; /* Derived from a struct of 26 bytes in size */
typedef OpaquePtr TPPrStatus; /* Substituted OpaquePtr for ``TPrStatus*'' */
typedef OpaquePtr TPPrStatusRef; /* Substituted OpaquePtr for ``TPrStatus*'' */
#endif
/* Print Status: Print information during printing. */
typedef SOMLargeStruct TPfPgDir; /* Derived from a struct of 518 bytes in size */
typedef OpaquePtr TPPfPgDir; /* Substituted OpaquePtr for ``TPfPgDir*'' */
typedef OpaquePtr THPfPgDir; /* Substituted OpaquePtr for ``TPPfPgDir*'' */
/* PicFile = a TPfHeader followed by n QuickDraw Pics (whose PicSize is invalid!) */
/*
This is the Printing Dialog Record. Only used by folks appending their own
DITLs to the print dialogs. Print Dialog: The Dialog Stream object.
*/
#if FOR_OPAQUE_SYSTEM_DATA_STRUCTURES
/*
typedef struct OpaqueTPrDlgRef *TPPrDlg;
typedef struct OpaqueTPrDlgRef *TPPrDlgRef;
*/
typedef OpaquePtr TPPrDlg;
typedef TPPrDlg TPPrDlgRef;
#else
typedef SOMLargeStruct TPrDlg; /* Derived from a struct of 200 bytes in size */
typedef OpaquePtr TPPrDlg; /* Substituted OpaquePtr for ``TPrDlg*'' */
typedef OpaquePtr TPPrDlgRef; /* Substituted OpaquePtr for ``TPrDlg*'' */
#endif
typedef OpaquePtr PDlgInitProcPtr;
typedef OpaquePtr PDlgInitUPP;
typedef SOMLargeStruct TGnlData; /* Derived from a struct of 8 bytes in size */
typedef SOMFourByteStruct TRslRg; /* Derived from a struct of 4 bytes in size */
typedef SOMFourByteStruct TRslRec; /* Derived from a struct of 4 bytes in size */
typedef SOMLargeStruct TGetRslBlk; /* Derived from a struct of 128 bytes in size */
typedef SOMLargeStruct TSetRslBlk; /* Derived from a struct of 16 bytes in size */
typedef SOMLargeStruct TDftBitsBlk; /* Derived from a struct of 12 bytes in size */
typedef SOMLargeStruct TGetRotnBlk; /* Derived from a struct of 14 bytes in size */
#endif
#endif /* __SOMIDL__ */
#endif /* __PRINTING_IDL__ */